projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
156084d
)
(get_server_config): Declare set_fg as FARPROC to avoid a compiler warning.
author
Juanma Barranquero
<lekktu@gmail.com>
Wed, 8 Nov 2006 01:06:45 +0000
(
01:06
+0000)
committer
Juanma Barranquero
<lekktu@gmail.com>
Wed, 8 Nov 2006 01:06:45 +0000
(
01:06
+0000)
lib-src/emacsclient.c
patch
|
blob
|
history
diff --git
a/lib-src/emacsclient.c
b/lib-src/emacsclient.c
index 3c3b27374fcc219fe38f3cdf2857f1d6efa32d92..2ad3701e07a4d0183f84a25c27ca19032684c0f4 100644
(file)
--- a/
lib-src/emacsclient.c
+++ b/
lib-src/emacsclient.c
@@
-510,7
+510,7
@@
get_server_config (server, authentication)
if (hUser32 = LoadLibrary ("user32.dll"))
{
-
void (*set_fg)(DWORD)
;
+
FARPROC set_fg
;
if (set_fg = GetProcAddress (hUser32, "AllowSetForegroundWindow"))
set_fg (atoi (pid));
FreeLibrary (hUser32);